package com.ikas.ai.server.module.alarm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName("t_trip_alarm")
@Data
@Accessors(chain = true)
public class TripAlarm {

    public final static Integer ALARM_SOLVED = 1;
    public final static Integer ALARM_NOT_SOLVED = 0;

    @TableId(type = IdType.AUTO)
    Long id;
    @TableField("machine_no")
    String machineNo;
    @TableField("trip_time")
    Long tripTime;
    @TableField("trip_date")
    String tripDate;
    @TableField("mete_code")
    String meteCode;
    @TableField("mete_name")
    String meteName;
    @TableField("trip_mete_type")
    String tripMeteType;
    @TableField("solve_user")
    String solveUser;
    Integer solved;
    @TableField("solve_time")
    Date solveTime;
    @TableField("trip_mete_id")
    Long tripMeteId;
    String creator;
    String updater;
    @TableField("create_time")
    Date createTime;
    @TableField("update_time")
    Date updateTime;
    String description;
}
